package DesignPatern.A10_责任链模式.QSB.A02_责任链模式;

/**
 * @Author: Du
 * @Date: 2021/7/30 9:56
 */
public class Father extends Handler
{
    public Father()
    {
        super(Handler.FATHER_LEVEL_REQUEST);
    }
    
    @Override
    protected void response(IWomen women)
    {
        System.out.println("--女儿向父亲请示--");
        System.out.println(women.getRequest());
        System.out.println("--父亲同意--");
    }
}
